package com.wlzg.collectiontool.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder

import com.wlzg.collectiontool.R
import com.wlzg.collectiontool.model.bean.Hunjie
import com.wlzg.collectiontool.model.bean.PsXiangmu

internal class XiangmuAdapter :
    BaseQuickAdapter<PsXiangmu?, BaseViewHolder>(
        R.layout.item_prolist

    ) {


    override fun convert(helper: BaseViewHolder, item: PsXiangmu?) {
        helper.setText(R.id.name, item?.xmmc)
        val status=if(item?.proStatus=="1"){"完成"}else {"进行中"}
        helper.setText(R.id.status,status)
        helper.setText(R.id.gxdate,item?.updateTime)
    }
}